package com.me.study.app.adapater

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.me.study.R
import com.me.study.app.data.EntranceDataBean

/**
 *create author : FZW
 *create date  : 2024/7/8
 */
class EntranceAdapter(list: MutableList<EntranceDataBean>) :
    BaseQuickAdapter<EntranceDataBean, BaseViewHolder>(R.layout.item_entrance, list) {

    override fun convert(holder: BaseViewHolder, item: EntranceDataBean) {
        holder.setText(R.id.title, "${item.title}")
        holder.setText(R.id.content, "${item.content}")
    }
}